package adminConfigModel

import (
	commonModel "gitee.com/krio/ginc/example/internal/common/model/common"
)

const AdminConfigTableName = "admin_config"

func (*AdminConfig) TableName() string {
	return AdminConfigTableName
}

type AdminConfig struct {
	commonModel.Basic `xorm:"extends"`
	Code              string                 `xorm:"varchar(50) 'code' comment('标识code')"`
	Title             string                 `xorm:"varchar(50) 'title' comment('名称')"`
	Remark            string                 `xorm:"varchar(50) 'remark' comment('备注')"`
	MetaData          map[string]interface{} `xorm:"json 'meta_data' comment('数据')"`
	Status            commonModel.DataStatus `xorm:"int 'status' comment('状态')"`
}
